<template>
	<view>
		<gy-login v-if="token === ''"></gy-login>
		<gy-userinfo v-else></gy-userinfo>
	</view>
	
</template>

<script>
	
	import mixin from '@/mixins/tabbar-badge.js'
	import {mapState} from 'vuex'
	export default {
		mixins:[mixin],
		computed:{
			...mapState('user',['token'])
		},
		data() {
			return {
			isShow : false
			}
		}, 
		methods: {
		
		}
	}
</script>

<style>

</style>